package com.tangsm.spring.boot.strategy.order.annotation;

import com.tangsm.spring.boot.strategy.order.enums.OrderEnum;

import java.lang.annotation.*;

/**
 * 订单类型注解
 *
 * @author tangsm
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface OrderAnnotation {
    /**
     * 订单枚举名称
     *
     * @return 订单枚举
     */
    OrderEnum name();
}
